#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.67])
AC_INIT([ycalgos],
	m4_esyscmd_s([build-aux/git-version-gen]),
	[yygcode@gmail.com],
	[ycalgos],
	[http://yygcode.blog.com])

AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror gnu])
LT_INIT

AC_CONFIG_SRCDIR([ChangeLog.ycalgos])
AC_REVISION([$Revision: 1.0 $])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_ASSERT
AC_HEADER_STDBOOL
AC_HEADER_STDC
AC_HEADER_TIME

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_CHECK_TYPES([u_char, u_short, u_int, u_long],,,
	       [[#include <sys/types.h>]])
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT8_T
AC_SUBST([ycalgos_headerdir], [src/include])
AC_DEFINE_UNQUOTED([YCALGOS_COMPILE_TIME], ["`date`"], ["Compile-Time-Stamp"])

# Checks for library functions.

AC_CONFIG_FILES([Makefile])
AC_OUTPUT
